package project.AnimalSoundInterface;

public class Cat implements Animal{
    @Override
    public void cry() {
        System.out.println("喵喵喵" + getAnimalName());
    }

    @Override
    public String getAnimalName() {
        return "小猫";
    }
}
